<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学成在线</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        a {
            text-decoration: none;
            color: #050505;
        }

        .w {
            width: 800px;
            margin: auto;
        }


        .header {
            width: 900px;
            height: 70px;
            margin: auto;
        }

        .logo {
            padding: 10px;
            float: left;
        }

        .nav {
            float: left;
        }

        .nav li {
            float: left;
            padding: 10px 15px;
            line-height: 50px;
        }

        input[type=text] {
            outline: none;
            border: 1px solid lightskyblue;
            height: 20px;
        }

        .search {
            padding-top: 22px;
            margin-left: 50px;
            float: left;
            width: 205px;
            position: relative;
        }

        .search img {
            position: absolute;
            left: 163px;
            top: 24px;
            height: 22px;
            width: 30px;
        }

        .user {
            padding-top: 22px;
            width: 80px;
            float: left;
        }

        .user a {
            font-size: 10px;
        }

        .user img {
            margin-left: 7px;
            width: 10px;
            height: 10px;
        }

        .user .dot {
            display: inline-block;
            width: 4px;
            height: 4px;
            background-color: red;
            border-radius: 50%;
            position: absolute;
            top: 5px;
        }

        .user .ring {
            position: relative;
        }

        .avatar img {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            vertical-align: middle;
        }

        .avatar {
            padding-top: 23px;
            float: left;
        }

        .avatar span {
            margin-left: 5px;
            font-size: 10px;
        }

        .banner {
            height: 300px;
            background-color: rgb(28, 3, 107);
        }

        .banner .main {
            position: relative;
            height: 300px;
            background: url(./img/banner.jpg) no-repeat;
            background-size: 800px 300px;
        }

        .banner .skill {
            background-color: rgba(20, 2, 75, 0.5);
            padding-top: 1px;
            width: 130px;
            height: 299px;
        }

        .banner .skill ul li {
            margin: 8px;
        }

        .banner .skill ul li a {
            color: white;
            font-size: 13px;
        }

        .banner .skill ul li::after {
            content: ">";
            font-size: 11px;
            color: white;
            margin-left: 50px;
        }

        .banner .main .mycourse {
            position: absolute;
            right: 0;
            top: 50%;
            width: 140px;
            height: 190px;
            background-color: #fff;
            margin-top: -95px;
        }

        .banner .main .mycourse .title {
            height: 30px;
            background-color: lightblue;
            text-align: center;
            line-height: 30px;
            color: white;
        }

        .banner .main .mycourse ul {
            padding: 8px;
        }

        .banner .main .mycourse ul li {
            font-size: 11px;
            border-bottom: 1px solid gainsboro;
            padding: 4px 0;
        }

        .banner .main .mycourse ul li:last-child {
            border-bottom: none;
        }

        .banner .main .mycourse ul li div {
            font-size: 10px;
        }

        .banner .main .mycourse button {
            width: 124px;
            background-color: white;
            color: rgb(61, 185, 255);
            border: 1px solid lightskyblue;
            margin-left: 8px;
            padding: 3px 0;
        }

        .recommend {
            position: relative;
            height: 35px;
            box-shadow: 0 0 2px 2px rgb(197, 199, 201, 0.7);
        }

        .recommend ul {
            padding: 8px;
        }

        .recommend ul li {
            float: left;
            font-size: 12px;
            border-right: 1px solid grey;
            padding: 0 8px;
        }

        .recommend ul li:first-child {
            color: rgb(47, 180, 255);
        }

        .recommend .modify {
            position: absolute;
            top: 11px;
            right: 15px;
            font-size: 11px;

        }

        .course {
            margin-top: 20px;
        }

        .course .head {
            font-size: 13px;
        }

        .course .head .all {
            font-size: 11px;
            float: right;
        }

        .course .content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .course .content .template {
            margin-top: 10px;
            background-color: white;
            width: 150px;
        }

        .course .content .template img {
            width: 100%;
        }

        .course .content .template .text {
            padding: 8px;
        }

        .course .content .template .text p:first-child {
            margin-bottom: 12px;
            font-size: 14px;
        }

        .course .content .template .text p:last-child {
            font-size: 12px;
        }

        .course .content .template .text p:last-child span {
            color: red;
        }

        .body {
            padding: 10px 0 20px;
            background-color: rgb(243, 245, 247);
        }

        .footer {
            margin-top: 20px;
        }

        .footer button {
            margin-top: 7px;
            width: 80px;
            height: 30px;
            background-color: white;
            color: rgb(61, 185, 255);
            border: 1px solid lightskyblue;
        }

        .footer .left {
            float: left;
        }

        .footer .left p {
            font-size: 10px;
        }

        .footer .left img {
            width: 150px;
            margin-bottom: 8px;
        }

        .footer .right {
            float: right;
        }

        .footer .right dl {
            margin-left: 55px;
            font-size: 10px;
            float: left;
        }
    </style>
</head>

<body>
    <div class="header">
        <div class="logo">
            <img src="./img/logo.jpg">
        </div>
        <div class="nav">
            <ul>
                <li><a href="#">首页</a></li>
                <li><a href="#">课程</a></li>
                <li><a href="#">职业规划</a></li>
            </ul>
        </div>
        <div class="search">
            <input type="text" placeholder="请输入关键字" name="search">
            <img src="./img/search.png">
        </div>
        <div class="user">
            <a href="#">个人中心</a>
            <span class="ring">
                <img src="./img/ring.png">
                <span class="dot"></span>
            </span>
        </div>
        <div class="avatar">
            <img src="./img/avatar.png">
            <span>刘德华 andy</span>
        </div>
    </div>
    <div class="banner">
        <div class="main w">
            <div class="skill">
                <ul>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                    <li><a href="#">前端开发</a></li>
                </ul>
            </div>
            <div class="mycourse">
                <div class="title">
                    <h5>我的课程表</h5>
                </div>
                <ul>
                    <li>继续学习 程序语言设计<div>正在学习-使用对象</div>
                    </li>
                    <li>继续学习 程序语言设计<div>正在学习-使用对象</div>
                    </li>
                    <li>继续学习 程序语言设计<div>正在学习-使用对象</div>
                    </li>
                </ul>
                <button>全部课程</button>
            </div>
        </div>
    </div>
    <div class="body">
        <div class="recommend w">
            <ul>
                <li>精品推荐</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
                <li>jQuery</li>
            </ul>
            <div class="modify">
                <a href="#">修改兴趣</a>
            </div>
        </div>
        <div class="course w">
            <div class="head">
                精品推荐<div class="all">查看全部</div>
            </div>
            <div class="content">
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
                <div class="template">
                    <img src="./img/course.png">
                    <div class="text">
                        <p>Think PHP 5.0 博客系统实战项目演练</p>
                        <p><span>高级</span>-1125人在学习</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer w">
        <div class="left">
            <img src="./img/logo.jpg">
            <p>学成在线致力于普及中国最好的教育它与中国一流大学和机构合作提供在线课程</p>
            <p>©2017年XTCG lnc.保留所有权利。-沪ICP备15025210号</p>
            <button>下载APP</button>
        </div>
        <div class="right">
            <dl>
                <dt>关于学成网</dt>
                <dd>关于</dd>
                <dd>管理团队</dd>
                <dd>工作机会</dd>
                <dd>客户服务</dd>
                <dd>帮助</dd>
            </dl>
            <dl>
                <dt>关于学成网</dt>
                <dd>关于</dd>
                <dd>管理团队</dd>
                <dd>工作机会</dd>
                <dd>客户服务</dd>
                <dd>帮助</dd>
            </dl>
            <dl>
                <dt>关于学成网</dt>
                <dd>关于</dd>
                <dd>管理团队</dd>
                <dd>工作机会</dd>
                <dd>客户服务</dd>
                <dd>帮助</dd>
            </dl>
        </div>
    </div>
</body>

</html>